package utils.global.singlework;

import akka.actor.AbstractActor;
import akka.japi.pf.ReceiveBuilder;

public abstract class BaseWork extends AbstractActor {

    @Override
    public Receive createReceive() {
        return execWork(receiveBuilder());
    }

    public abstract Receive execWork(ReceiveBuilder builder);
}
